<?php
header("content-type:text/html;charset=utf-8");
//定义css、img、js常量
define("SITE_URL", "http://localhost/");
define("CSS_URL",SITE_URL."sharing/public/Home/css/"); //css
define("IMG_URL",SITE_URL."sharing/public/Home/img/"); //img
define("JS_URL",SITE_URL."sharing/public/Home/js/"); //js

define("ADMIN_CSS_URL",SITE_URL."sharing/public/Admin/css/"); //css
define("ADMIN_IMG_URL",SITE_URL."sharing/public/Admin/img/"); //img
define("ADMIN_JS_URL",SITE_URL."sharing/public/Admin/js/"); //js

define("APP_DEBUG",true); //把框架的模式调整为开发调试模式

define("IMG_UPLOAD",SITE_URL."sharing/public/");


include "./ThinkPHP/ThinkPHP.php"; //这个必须放在下面！！！

function show_bug($msg){
    echo "<pre style='color:red'>";
    var_dump($msg);
    echo "</pre>";
}


?>
